-
Notifications
You must be signed in to change notification settings - Fork 16.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added VFS system for virtual filesystem backends #13793
Conversation
2019ad5
to
c2a90a3
Compare
|
fixed, it depends on order of clean and configure. Interestingly, that also affected our build size! |
|
yep, semaphore should not be checking generated python file env.py, I've added build to the excluded directories for flake8 in semaphore |
Shouldn't we be writing out an Doesn't look like we generate any Python in our build process ATM (yay!), but if we do then blanket-whitelisting the build directory may remove some useful static checking. |
this allows for a scripts/ directory under hwdef board directory to embed lua scripts
this allows download via ftp
this ensures that optimisation levels are added regardless of whether clean is run before or after a configure
I'll give this a test, sorry for the delay! |
this allows packet size to be tailored to the transport
I've successfully tested this, thanks! |
This implements a virtual filesystem space, allowing for multiple filesystem backends. This initial commit adds the @ROMFS/ prefix for ROMFS files. This allows Lua scripts to be embedded in ROMFS.
This replaces #13749 as it is much more general
Flash cost on CubeOrange is 1144 bytes
For ChibiOS builds scripts are placed in libraries/AP_HAL_ChibiOS/hwdef/BoardName/scripts/*.lua
For SITL builds scripts are in ROMFS/scripts in top level of build